package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 巡查码对象 sys_code
 * 
 * @author jjp
 * @date 2020-03-30
 */
public class SysCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long codeId;

    private Long postId;

    /** 巡查类型 */
    private String codeType;

    /** 地址 */
    private String address;

    public void setCodeId(Long codeId) 
    {
        this.codeId = codeId;
    }

    public Long getCodeId() 
    {
        return codeId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setCodeType(String codeType) 
    {
        this.codeType = codeType;
    }

    public String getCodeType() 
    {
        return codeType;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("codeId", getCodeId())
            .append("postId", getPostId())
            .append("codeType", getCodeType())
            .append("createTime", getCreateTime())
            .append("address", getAddress())
            .toString();
    }
}
